#ifndef LINK_H_INCLUDED
#define LINK_H_INCLUDED

struct link
{
  struct lelement* head;
};

struct lelement
{
  char data;
  struct lelement* next;
};

struct link lnk__empty ();
int lnk__is_end ( const struct link * , const struct lelement *);
int lnk__add_head( struct link *, struct lelement * );
int lnk__remove_head( struct link*);
int lnk__add_tail( struct link *, struct lelement * );
int lnk__remove_after(struct link* lnk, struct lelement* e);


#endif // LINK_H_INCLUDED
